/*
 * Copyright (C), 2014-2015, 杭州小卡科技有限公司
 * FileName: SettlePayDay.java
 * Author: mbg
 * Date: 2017年08月21日 上午 09:06:07
 * Description:
 */
package com.lww.feature.test.sizeofobject;

import java.util.Date;

public class SettlePayDay {
    /**
     * account_id:账户ID
     */
    private String accountId;

    /**
     * order_source:订单来源,见OrderSourceEnum
     */
    private Integer orderSource;

    /**
     * root_type_code:商品一级类目
     */
    private String rootTypeCode;

    /**
     * pay_date:支付日期
     */
    private Date payDate;

    /**
     * in_count:收入笔数
     */
    private Integer inCount;

    /**
     * in_amount:收入金额 单位为分
     */
    private Long inAmount;

    /**
     * out_count:支出笔数
     */
    private Integer outCount;

    /**
     * out_amount:支出金额 单位为分
     */
    private Long outAmount;

    /**
     * create_time:创建时间
     */
    private Date createTime;

    /**
     * modify_time:修改时间
     */
    private Date modifyTime;

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    /**
     * @return the value of order_source
     */
    public Integer getOrderSource() {
        return orderSource;
    }

    /**
     * @param orderSource the value for order_source
     */
    public void setOrderSource(Integer orderSource) {
        this.orderSource = orderSource;
    }

    /**
     * @return the value of root_type_code
     */
    public String getRootTypeCode() {
        return rootTypeCode;
    }

    /**
     * @param rootTypeCode the value for root_type_code
     */
    public void setRootTypeCode(String rootTypeCode) {
        this.rootTypeCode = rootTypeCode;
    }

    /**
     * @return the value of pay_date
     */
    public Date getPayDate() {
        return payDate;
    }

    /**
     * @param payDate the value for pay_date
     */
    public void setPayDate(Date payDate) {
        this.payDate = payDate;
    }

    /**
     * @return the value of in_count
     */
    public Integer getInCount() {
        return inCount;
    }

    /**
     * @param inCount the value for in_count
     */
    public void setInCount(Integer inCount) {
        this.inCount = inCount;
    }

    /**
     * @return the value of in_amount
     */
    public Long getInAmount() {
        return inAmount;
    }

    /**
     * @param inAmount the value for in_amount
     */
    public void setInAmount(Long inAmount) {
        this.inAmount = inAmount;
    }

    /**
     * @return the value of out_count
     */
    public Integer getOutCount() {
        return outCount;
    }

    /**
     * @param outCount the value for out_count
     */
    public void setOutCount(Integer outCount) {
        this.outCount = outCount;
    }

    /**
     * @return the value of out_amount
     */
    public Long getOutAmount() {
        return outAmount;
    }

    /**
     * @param outAmount the value for out_amount
     */
    public void setOutAmount(Long outAmount) {
        this.outAmount = outAmount;
    }

    /**
     * @return the value of create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime the value for create_time
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * @return the value of modify_time
     */
    public Date getModifyTime() {
        return modifyTime;
    }

    /**
     * @param modifyTime the value for modify_time
     */
    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("  \"accountId\":\"").append(accountId).append('\"');
        sb.append(", \"orderSource\":").append(orderSource);
        sb.append(", \"rootTypeCode\":\"").append(rootTypeCode).append('\"');
        sb.append(", \"payDate\":\"").append(payDate).append('\"');
        sb.append(", \"inCount\":").append(inCount);
        sb.append(", \"inAmount\":").append(inAmount);
        sb.append(", \"outCount\":").append(outCount);
        sb.append(", \"outAmount\":").append(outAmount);
        sb.append(", \"createTime\":\"").append(createTime).append('\"');
        sb.append(", \"modifyTime\":\"").append(modifyTime).append('\"');
        sb.append('}');
        return sb.toString();
    }
}